package com.example.commons.core.bean;

import com.example.commons.core.entity.Role;
import com.example.commons.core.entity.UserInfo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.List;

/**
 * 用户的角色列表
 */
@EqualsAndHashCode(callSuper = true)
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
public class UserInfoRoleBean extends UserInfo implements Serializable {
    /**
     * 角色列表
     */
    private List<Role> roleList;
}
